package io.genezhao.mybatisplus.mvc.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;

import com.baomidou.mybatisplus.enums.IdType;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author genezhao
 * @since 2018-06-12
 */
@TableName("user")
@Setter
@Getter
@NoArgsConstructor
@ToString
@EqualsAndHashCode
public class User implements Serializable {

private static final long serialVersionUID = 1L;

        @TableId(type = IdType.UUID)
        private String id;
        private Long version;
        private String email;
        private String nickName;
        private String passWord;
        private Long regTime;
        private String userName;
        private String salt;
        private String mobile;


        }